* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    overflow: hidden;
    height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.controls {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 24px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.control-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

label {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#speed {
    width: 150px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    border-radius: 5px;
}

#speed::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    background: #ffd700;
    border-radius: 50%;
    cursor: pointer;
}

button {
    padding: 8px 16px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

button:active {
    transform: translateY(0);
}

#solarSystem {
    flex: 1;
    background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%);
    display: block;
    cursor: grab;
}

#solarSystem:active {
    cursor: grabbing;
}

#speedValue {
    color: #ffd700;
    font-weight: bold;
    min-width: 35px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .controls {
        padding: 15px;
    }
    
    h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .control-panel {
        gap: 15px;
    }
    
    button {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    #speed {
        width: 120px;
    }
} 